<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <script>
        var xmlhttp;
        if(window.XMLHttpRequest){
            // IE7+, Firefox, Chrome, Opera, Safari浏览器代码
            xmlhttp = new XMLHttpRequest();
        }else{
            //IE6, IE5浏览器代码
            xmlhttp = new XMLHttpRequest("Microsoft.XMLHTTP");
        }
    </script>
</head>
<body>
<h3 th:text="${session.getAttribute("message")}"></h3><a href="/logout">注销</a>
</body>
</html>